package com.road.model.entity;

import java.io.Serializable;
import java.util.Date;

public class SysLog implements Serializable {
    private Long id;

    private Integer userid;

    private String loginname;

    private String rolename;

    private String optcontent;

    private Integer opturi;

    private String clientip;

    private String os;

    private Integer executetime;

    private String requestparam;

    private Date createtime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname == null ? null : loginname.trim();
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename == null ? null : rolename.trim();
    }

    public String getOptcontent() {
        return optcontent;
    }

    public void setOptcontent(String optcontent) {
        this.optcontent = optcontent == null ? null : optcontent.trim();
    }

    public Integer getOpturi() {
        return opturi;
    }

    public void setOpturi(Integer opturi) {
        this.opturi = opturi;
    }

    public String getClientip() {
        return clientip;
    }

    public void setClientip(String clientip) {
        this.clientip = clientip == null ? null : clientip.trim();
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os == null ? null : os.trim();
    }

    public Integer getExecutetime() {
        return executetime;
    }

    public void setExecutetime(Integer executetime) {
        this.executetime = executetime;
    }

    public String getRequestparam() {
        return requestparam;
    }

    public void setRequestparam(String requestparam) {
        this.requestparam = requestparam == null ? null : requestparam.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userid=").append(userid);
        sb.append(", loginname=").append(loginname);
        sb.append(", rolename=").append(rolename);
        sb.append(", optcontent=").append(optcontent);
        sb.append(", opturi=").append(opturi);
        sb.append(", clientip=").append(clientip);
        sb.append(", os=").append(os);
        sb.append(", executetime=").append(executetime);
        sb.append(", requestparam=").append(requestparam);
        sb.append(", createtime=").append(createtime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}